X-Git-Url: https://git.r.bdr.sh/rbdr/super-polarity/blobdiff_plain/f8aec187ea7dc410a32996406109f290f3199ffa..4fc09567c557a1110180940cca40fd7144921026:/Super%20Polarity/ActorManager.cs?ds=sidebyside diff --git a/Super Polarity/ActorManager.cs b/Super Polarity/ActorManager.cs deleted file mode 100644 index bca7168..0000000 --- a/Super Polarity/ActorManager.cs +++ /dev/null @@ -1,45 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using Microsoft.Xna.Framework; -using Microsoft.Xna.Framework.Graphics; - -namespace SuperPolarity -{ - static class ActorManager - { - static List Actors; - - static ActorManager() - { - Actors = new List(); - } - - static public void CheckIn(Actor actor) - { - Actors.Add(actor); - } - - static public void CheckOut(Actor actor) - { - Actors.Remove(actor); - } - - static public void Update(GameTime gameTime) - { - foreach (Actor actor in Actors) - { - actor.Update(gameTime); - } - } - - static public void Draw(SpriteBatch spriteBatch) - { - foreach (Actor actor in Actors) - { - actor.Draw(spriteBatch); - } - } - } -}